﻿#region Imports

using System;

#endregion

namespace IEC.ColumnOrdering.SP2007.Application.Services
{

    /// <summary>
    /// Provides access to configuration data.
    /// </summary>
    public static class ConfigurationData
    {

        #region Constants

        /// <summary>
        /// Represents a value indicating whether only the current site is 
        /// accessible by default.
        /// </summary>
        /// <value>
        /// <c>true</c> if only the current site is accessible by default;
        /// otherwise, <c>false</c>.
        /// </value>
        private const bool EnableCurrentSiteAccessOnlyByDefault = true;

        #endregion

        #region Properties - Static Member

        /// <summary>
        /// Gets a value indicating whether only the current site is accessible.
        /// </summary>
        /// <value>
        /// <c>true</c> if only the current site is accessible;
        /// otherwise, <c>false</c>.
        /// </value>
        public static bool EnableCurrentSiteAccessOnly
        {
            get
            {
                return ConfigurationData.EnableCurrentSiteAccessOnlyByDefault;
            }
        }

        #endregion

    }

}
